
const RouteView = {
  name: 'RouteView',
  render: h => h('router-view')
}

export default {
  path: '/cms',
  name: 'cms',
  redirect: '/cms/ann',
  component: RouteView,
  meta: { title: '内容管理', keepAlive: true, icon: 'read' },
  children: [
    {
      path: '/cms/ann',
      name: 'cms-ann',
      component: () => import('@/views/cms/ann/Index'),
      meta: { title: '公告管理', keepAlive: true }
    },
    {
      path: '/cms/banner',
      name: 'cms-banner',
      component: () => import('@/views/cms/banner/Index'),
      meta: { title: '轮播图管理', keepAlive: true }
    }
  ]
}
